<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Repositories\Eloquent\UtilityRepository as Utility;

class UtilController extends Controller
{
    protected $util;
    
    public function __construct(Utility $util)
    {
        parent::__construct();

        $this->util = $util;
    }

    public function captcha()
    {
        return $this->util->captcha();
    }


    public function safecode(Request $request)
    {
        return $this->util->safecode($request);
    }


    public function sms(Request $request)
    {
        return $this->util->sendSms($request);
    }


    public function smsRecruit(Request $request)
    {
        return $this->util->sendSmsRecruit($request);
    }

}